summaryrefslogtreecommitdiff
path: root/[priyesh]ChangeLog
blob: d31b5fdf79dae1a58bcb1d48f490f62fffce9f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
2020-07-02  Priyesh Kumar   <priyeshkkumar@gmail.com>

    * Fixed some code layout

    * Added a new header- `include/freetype/ftlogging.h` for public APIs to 
      use when using logging:
      1. FT_Trace_Set_Level(): Used to change trace level of components at 
          runtime.
      2. FT_Trace_Set_Default_Level(): Used to set the default value of trace
         level(which is supplied by env FT2_DEBUG)
    
    * include/freetype/internal/ftdebug.h:
      1. Added dlg support for FT_ERROR, now error messages are also written 
         on file if FT_LOGGING is enabled. 
      2. Changed `ft_debug_init()`: now it takes an argument of type const
         char* which is used to specify trace level.
    
    * src/base/ftobjs.c: Changed `ft_debug_init()`, now it passes an argument
      to define trace level.

    * src/base/ftdebug.c: Added definitions of public APIs 
      `FT_Trace_Set_Default_Level()` and `FT_Trace_Set_Level()`

    * Strated working on Callback. 

    * Minor Updates on support of FT_ERROR part

2020-06-30  Priyesh Kumar   <priyeshkkumar@gmail.com>

    * Adding new line at end of file

    * include/freetype/internal/ftdebug.h: Added a FreeType specific dlg 
      output handler to print trace logs to file ~ 
      `ft_freetype_output_handler()`

    * src/base/ftdebug.c: 
      1. If FT_LOGGING is enabled `ft_debug_init()` will be called from
         `ft_logging_init()`
      2. Added function definition of `ft_freetype_output_handler)()`

    * src/base/ftobjs.c: If FT_LOGGING macro is disabled, only then FreeType
      will call `ft_debug_init()` else it is controlled by logging APIs.
      
    * Fixed Scaling  
    
2020-06-29  Priyesh Kumar   <priyeshkkumar@gmail.com>

    * Added submodule - dlg library (https://github.com/nyorain/dlg)
      in src/dlg.
      This library is used as a logger for FreeType.

    * include/freetype/config/ftoption.h: Added macro `FT_LOGGING` 
      to enable/disable logging in FreeType using dlg.
  
    * [builds] unix-cc-in: Added -std=c99, since dlg does not support 
      C standards below c99. 

    * include/freetype/internal/ftdebug.h: Created an environment for dlg 
      support in FreeType.

    * include/freetype/internal/ftdebug.h: Added functions 
        `ft_logging_init()` and `ft_logging_deinit()` for initializing and
         un-initalizing FILE*.

    * src/base/ftdebug.c: 
       1. Added a FILE* to write logs to file
       2. Added function definitions for functions 
      `ft_logging_init()` and `ft_logging_deinit()`.

    * src/base/ftinit.c: 
      1. Added a function call to `ft_logging_init()` in `FT_Init_FreeType()` 
         if FT_LOGGING macro is enabled.
      2. Added function call to `ft_logging_deinit()` in `FT_Done_FreeType()` 
         if FT_LOGGING macro is enabled.